package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

/**
 * @author ：HX
 * @date ：Created in 2019/12/13
 * @description ：
 * @version: 1.0
 */
public interface RoleService {
    PageResult findPage(QueryPageBean queryPageBean);
    void add(Integer[] permissionIds, Integer[] menuIds, Role role);
    Role findById(Integer id);
    void edit(Integer[] permissionIds, Integer[] menuIds, Role role);
    void deleteById(Integer id);
}
